/* 统一的管理页面样式 */
.admin-page {
  width: 100%;
  max-width: 100%;
}

.admin-page .page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  width: 100%;
}

.admin-page .page-header h1 {
  font-size: 22px;
  font-weight: 600;
  color: #303133;
  margin: 0;
}

.admin-page .actions {
  margin-left: auto;
}

.admin-page .table-card {
  width: 100%;
  margin-bottom: 20px;
}

.admin-page .filter-container {
  margin-bottom: 20px;
  width: 100%;
}

.admin-page .filter-form {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.admin-page .pagination-container {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

/* 确保表格能够占满容器宽度 */
.admin-page .el-table {
  width: 100% !important;
}

/* 对话框样式调整 */
.admin-page .el-dialog {
  min-width: 400px;
  max-width: 80% !important;
}

.admin-page .el-dialog__body {
  padding-top: 10px;
}

.admin-page .el-dialog__footer {
  padding-top: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .admin-page .filter-form {
    flex-direction: column;
  }
  
  .admin-page .filter-form .el-form-item {
    margin-right: 0;
    width: 100%;
  }
  
  .admin-page .el-dialog {
    width: 95% !important;
    max-width: 500px !important;
  }
}